home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be008.dxr / 00160.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  14.9 KB  |  589 lines

  1. on exitFrame
  2.   global flicker
  3.   if the timer < 1690 then
  4.     go(the frame)
  5.   else
  6.     startTimer()
  7.     go(the frame + 1)
  8.   end if
  9.   if flicker = 1 then
  10.     set randomiser to 1
  11.     set verty to 1
  12.     set horizonty to 1
  13.   end if
  14.   set honumber to random(4)
  15.   set minushonumber to -3
  16.   set vernumber to random(4)
  17.   set minusvernumber to -2
  18.   set randomiser to random(2)
  19.   if randomiser = 1 then
  20.     set verty to vernumber
  21.     set horizonty to honumber
  22.   else
  23.     set horizonty to minushonumber
  24.     set verty to minusvernumber
  25.   end if
  26.   set x to 5
  27.   if x = 1 then
  28.     set x to 4
  29.   end if
  30.   if x = 3 then
  31.     set x to 5
  32.   end if
  33.   if x = 2 then
  34.     set x to 6
  35.   end if
  36.   set the locH of sprite x to the locH of sprite x + horizonty
  37.   set the locV of sprite x to the locV of sprite x + verty
  38.   if the locH of sprite x >= 620 then
  39.     set the locH of sprite x to the locH of sprite x - 20
  40.   end if
  41.   if the locH of sprite x <= 20 then
  42.     set the locH of sprite x to the locH of sprite x + 20
  43.   end if
  44.   if the locV of sprite x <= 20 then
  45.     set the locV of sprite x to the locV of sprite x + 20
  46.   end if
  47.   if the locV of sprite x >= 460 then
  48.     set the locV of sprite x to the locV of sprite x - 20
  49.   end if
  50.   if flicker = 1 then
  51.     set randomiser to 1
  52.     set verty to 1
  53.     set horizonty to 1
  54.   end if
  55.   set honumber to random(4)
  56.   set minushonumber to -3
  57.   set vernumber to random(4)
  58.   set minusvernumber to -2
  59.   set randomiser to random(2)
  60.   if randomiser = 1 then
  61.     set verty to vernumber
  62.     set horizonty to honumber
  63.   else
  64.     set horizonty to minushonumber
  65.     set verty to minusvernumber
  66.   end if
  67.   set x to 5
  68.   if x = 1 then
  69.     set x to 4
  70.   end if
  71.   if x = 3 then
  72.     set x to 5
  73.   end if
  74.   if x = 2 then
  75.     set x to 6
  76.   end if
  77.   set the locH of sprite x to the locH of sprite x + horizonty
  78.   set the locV of sprite x to the locV of sprite x + verty
  79.   if the locH of sprite x >= 620 then
  80.     set the locH of sprite x to the locH of sprite x - 20
  81.   end if
  82.   if the locH of sprite x <= 20 then
  83.     set the locH of sprite x to the locH of sprite x + 20
  84.   end if
  85.   if the locV of sprite x <= 20 then
  86.     set the locV of sprite x to the locV of sprite x + 20
  87.   end if
  88.   if the locV of sprite x >= 460 then
  89.     set the locV of sprite x to the locV of sprite x - 20
  90.   end if
  91.   if flicker = 1 then
  92.     set randomiser to 1
  93.     set verty to 1
  94.     set horizonty to 1
  95.   end if
  96.   set honumber to random(4)
  97.   set minushonumber to -3
  98.   set vernumber to random(4)
  99.   set minusvernumber to -2
  100.   set randomiser to random(2)
  101.   if randomiser = 1 then
  102.     set verty to vernumber
  103.     set horizonty to honumber
  104.   else
  105.     set horizonty to minushonumber
  106.     set verty to minusvernumber
  107.   end if
  108.   set x to 6
  109.   if x = 1 then
  110.     set x to 4
  111.   end if
  112.   if x = 3 then
  113.     set x to 5
  114.   end if
  115.   if x = 2 then
  116.     set x to 6
  117.   end if
  118.   set the locH of sprite x to the locH of sprite x + horizonty
  119.   set the locV of sprite x to the locV of sprite x + verty
  120.   if the locH of sprite x >= 620 then
  121.     set the locH of sprite x to the locH of sprite x - 20
  122.   end if
  123.   if the locH of sprite x <= 20 then
  124.     set the locH of sprite x to the locH of sprite x + 20
  125.   end if
  126.   if the locV of sprite x <= 20 then
  127.     set the locV of sprite x to the locV of sprite x + 20
  128.   end if
  129.   if the locV of sprite x >= 460 then
  130.     set the locV of sprite x to the locV of sprite x - 20
  131.   end if
  132.   if flicker = 1 then
  133.     set randomiser to 1
  134.     set verty to 1
  135.     set horizonty to 1
  136.   end if
  137.   set honumber to random(4)
  138.   set minushonumber to -3
  139.   set vernumber to random(4)
  140.   set minusvernumber to -2
  141.   set randomiser to random(2)
  142.   if randomiser = 1 then
  143.     set verty to vernumber
  144.     set horizonty to honumber
  145.   else
  146.     set horizonty to minushonumber
  147.     set verty to minusvernumber
  148.   end if
  149.   set x to 7
  150.   if x = 1 then
  151.     set x to 4
  152.   end if
  153.   if x = 3 then
  154.     set x to 5
  155.   end if
  156.   if x = 2 then
  157.     set x to 6
  158.   end if
  159.   set the locH of sprite x to the locH of sprite x + horizonty
  160.   set the locV of sprite x to the locV of sprite x + verty
  161.   if the locH of sprite x >= 620 then
  162.     set the locH of sprite x to the locH of sprite x - 20
  163.   end if
  164.   if the locH of sprite x <= 20 then
  165.     set the locH of sprite x to the locH of sprite x + 20
  166.   end if
  167.   if the locV of sprite x <= 20 then
  168.     set the locV of sprite x to the locV of sprite x + 20
  169.   end if
  170.   if the locV of sprite x >= 460 then
  171.     set the locV of sprite x to the locV of sprite x - 20
  172.   end if
  173.   if flicker = 1 then
  174.     set randomiser to 1
  175.     set verty to 1
  176.     set horizonty to 1
  177.   end if
  178.   set honumber to random(4)
  179.   set minushonumber to -3
  180.   set vernumber to random(4)
  181.   set minusvernumber to -2
  182.   set randomiser to random(2)
  183.   if randomiser = 1 then
  184.     set verty to vernumber
  185.     set horizonty to honumber
  186.   else
  187.     set horizonty to minushonumber
  188.     set verty to minusvernumber
  189.   end if
  190.   set x to 8
  191.   if x = 1 then
  192.     set x to 4
  193.   end if
  194.   if x = 3 then
  195.     set x to 5
  196.   end if
  197.   if x = 2 then
  198.     set x to 6
  199.   end if
  200.   set the locH of sprite x to the locH of sprite x + horizonty
  201.   set the locV of sprite x to the locV of sprite x + verty
  202.   if the locH of sprite x >= 620 then
  203.     set the locH of sprite x to the locH of sprite x - 20
  204.   end if
  205.   if the locH of sprite x <= 20 then
  206.     set the locH of sprite x to the locH of sprite x + 20
  207.   end if
  208.   if the locV of sprite x <= 20 then
  209.     set the locV of sprite x to the locV of sprite x + 20
  210.   end if
  211.   if the locV of sprite x >= 460 then
  212.     set the locV of sprite x to the locV of sprite x - 20
  213.   end if
  214.   if flicker = 1 then
  215.     set randomiser to 1
  216.     set verty to 1
  217.     set horizonty to 1
  218.   end if
  219.   set honumber to random(4)
  220.   set minushonumber to -3
  221.   set vernumber to random(4)
  222.   set minusvernumber to -2
  223.   set randomiser to random(2)
  224.   if randomiser = 1 then
  225.     set verty to vernumber
  226.     set horizonty to honumber
  227.   else
  228.     set horizonty to minushonumber
  229.     set verty to minusvernumber
  230.   end if
  231.   set x to 9
  232.   if x = 1 then
  233.     set x to 4
  234.   end if
  235.   if x = 3 then
  236.     set x to 5
  237.   end if
  238.   if x = 2 then
  239.     set x to 6
  240.   end if
  241.   set the locH of sprite x to the locH of sprite x + horizonty
  242.   set the locV of sprite x to the locV of sprite x + verty
  243.   if the locH of sprite x >= 620 then
  244.     set the locH of sprite x to the locH of sprite x - 20
  245.   end if
  246.   if the locH of sprite x <= 20 then
  247.     set the locH of sprite x to the locH of sprite x + 20
  248.   end if
  249.   if the locV of sprite x <= 20 then
  250.     set the locV of sprite x to the locV of sprite x + 20
  251.   end if
  252.   if the locV of sprite x >= 460 then
  253.     set the locV of sprite x to the locV of sprite x - 20
  254.   end if
  255.   if flicker = 1 then
  256.     set randomiser to 1
  257.     set verty to 1
  258.     set horizonty to 1
  259.   end if
  260.   set honumber to random(4)
  261.   set minushonumber to -3
  262.   set vernumber to random(4)
  263.   set minusvernumber to -2
  264.   set randomiser to random(2)
  265.   if randomiser = 1 then
  266.     set verty to vernumber
  267.     set horizonty to honumber
  268.   else
  269.     set horizonty to minushonumber
  270.     set verty to minusvernumber
  271.   end if
  272.   set x to 10
  273.   if x = 1 then
  274.     set x to 4
  275.   end if
  276.   if x = 3 then
  277.     set x to 5
  278.   end if
  279.   if x = 2 then
  280.     set x to 6
  281.   end if
  282.   set the locH of sprite x to the locH of sprite x + horizonty
  283.   set the locV of sprite x to the locV of sprite x + verty
  284.   if the locH of sprite x >= 620 then
  285.     set the locH of sprite x to the locH of sprite x - 20
  286.   end if
  287.   if the locH of sprite x <= 20 then
  288.     set the locH of sprite x to the locH of sprite x + 20
  289.   end if
  290.   if the locV of sprite x <= 20 then
  291.     set the locV of sprite x to the locV of sprite x + 20
  292.   end if
  293.   if the locV of sprite x >= 460 then
  294.     set the locV of sprite x to the locV of sprite x - 20
  295.   end if
  296.   if flicker = 1 then
  297.     set randomiser to 1
  298.     set verty to 1
  299.     set horizonty to 1
  300.   end if
  301.   set honumber to random(4)
  302.   set minushonumber to -3
  303.   set vernumber to random(4)
  304.   set minusvernumber to -2
  305.   set randomiser to random(2)
  306.   if randomiser = 1 then
  307.     set verty to vernumber
  308.     set horizonty to honumber
  309.   else
  310.     set horizonty to minushonumber
  311.     set verty to minusvernumber
  312.   end if
  313.   set x to 11
  314.   if x = 1 then
  315.     set x to 4
  316.   end if
  317.   if x = 3 then
  318.     set x to 5
  319.   end if
  320.   if x = 2 then
  321.     set x to 6
  322.   end if
  323.   set the locH of sprite x to the locH of sprite x + horizonty
  324.   set the locV of sprite x to the locV of sprite x + verty
  325.   if the locH of sprite x >= 620 then
  326.     set the locH of sprite x to the locH of sprite x - 20
  327.   end if
  328.   if the locH of sprite x <= 20 then
  329.     set the locH of sprite x to the locH of sprite x + 20
  330.   end if
  331.   if the locV of sprite x <= 20 then
  332.     set the locV of sprite x to the locV of sprite x + 20
  333.   end if
  334.   if the locV of sprite x >= 460 then
  335.     set the locV of sprite x to the locV of sprite x - 20
  336.   end if
  337.   if flicker = 1 then
  338.     set randomiser to 1
  339.     set verty to 1
  340.     set horizonty to 1
  341.   end if
  342.   set honumber to random(4)
  343.   set minushonumber to -3
  344.   set vernumber to random(4)
  345.   set minusvernumber to -2
  346.   set randomiser to random(2)
  347.   if randomiser = 1 then
  348.     set verty to vernumber
  349.     set horizonty to honumber
  350.   else
  351.     set horizonty to minushonumber
  352.     set verty to minusvernumber
  353.   end if
  354.   set x to 12
  355.   if x = 1 then
  356.     set x to 4
  357.   end if
  358.   if x = 3 then
  359.     set x to 5
  360.   end if
  361.   if x = 2 then
  362.     set x to 6
  363.   end if
  364.   set the locH of sprite x to the locH of sprite x + horizonty
  365.   set the locV of sprite x to the locV of sprite x + verty
  366.   if the locH of sprite x >= 620 then
  367.     set the locH of sprite x to the locH of sprite x - 20
  368.   end if
  369.   if the locH of sprite x <= 20 then
  370.     set the locH of sprite x to the locH of sprite x + 20
  371.   end if
  372.   if the locV of sprite x <= 20 then
  373.     set the locV of sprite x to the locV of sprite x + 20
  374.   end if
  375.   if the locV of sprite x >= 460 then
  376.     set the locV of sprite x to the locV of sprite x - 20
  377.   end if
  378.   if flicker = 1 then
  379.     set randomiser to 1
  380.     set verty to 1
  381.     set horizonty to 1
  382.   end if
  383.   set honumber to random(4)
  384.   set minushonumber to -3
  385.   set vernumber to random(4)
  386.   set minusvernumber to -2
  387.   set randomiser to random(2)
  388.   if randomiser = 1 then
  389.     set verty to vernumber
  390.     set horizonty to honumber
  391.   else
  392.     set horizonty to minushonumber
  393.     set verty to minusvernumber
  394.   end if
  395.   set x to 13
  396.   if x = 1 then
  397.     set x to 4
  398.   end if
  399.   if x = 3 then
  400.     set x to 5
  401.   end if
  402.   if x = 2 then
  403.     set x to 6
  404.   end if
  405.   set the locH of sprite x to the locH of sprite x + horizonty
  406.   set the locV of sprite x to the locV of sprite x + verty
  407.   if the locH of sprite x >= 620 then
  408.     set the locH of sprite x to the locH of sprite x - 20
  409.   end if
  410.   if the locH of sprite x <= 20 then
  411.     set the locH of sprite x to the locH of sprite x + 20
  412.   end if
  413.   if the locV of sprite x <= 20 then
  414.     set the locV of sprite x to the locV of sprite x + 20
  415.   end if
  416.   if the locV of sprite x >= 460 then
  417.     set the locV of sprite x to the locV of sprite x - 20
  418.   end if
  419.   if flicker = 1 then
  420.     set randomiser to 1
  421.     set verty to 1
  422.     set horizonty to 1
  423.   end if
  424.   set honumber to random(4)
  425.   set minushonumber to -3
  426.   set vernumber to random(4)
  427.   set minusvernumber to -2
  428.   set randomiser to random(2)
  429.   if randomiser = 1 then
  430.     set verty to vernumber
  431.     set horizonty to honumber
  432.   else
  433.     set horizonty to minushonumber
  434.     set verty to minusvernumber
  435.   end if
  436.   set x to 14
  437.   if x = 1 then
  438.     set x to 4
  439.   end if
  440.   if x = 3 then
  441.     set x to 5
  442.   end if
  443.   if x = 2 then
  444.     set x to 6
  445.   end if
  446.   set the locH of sprite x to the locH of sprite x + horizonty
  447.   set the locV of sprite x to the locV of sprite x + verty
  448.   if the locH of sprite x >= 620 then
  449.     set the locH of sprite x to the locH of sprite x - 20
  450.   end if
  451.   if the locH of sprite x <= 20 then
  452.     set the locH of sprite x to the locH of sprite x + 20
  453.   end if
  454.   if the locV of sprite x <= 20 then
  455.     set the locV of sprite x to the locV of sprite x + 20
  456.   end if
  457.   if the locV of sprite x >= 460 then
  458.     set the locV of sprite x to the locV of sprite x - 20
  459.   end if
  460.   if flicker = 1 then
  461.     set randomiser to 1
  462.     set verty to 1
  463.     set horizonty to 1
  464.   end if
  465.   set honumber to random(4)
  466.   set minushonumber to -3
  467.   set vernumber to random(4)
  468.   set minusvernumber to -2
  469.   set randomiser to random(2)
  470.   if randomiser = 1 then
  471.     set verty to vernumber
  472.     set horizonty to honumber
  473.   else
  474.     set horizonty to minushonumber
  475.     set verty to minusvernumber
  476.   end if
  477.   set x to 15
  478.   if x = 1 then
  479.     set x to 4
  480.   end if
  481.   if x = 3 then
  482.     set x to 5
  483.   end if
  484.   if x = 2 then
  485.     set x to 6
  486.   end if
  487.   set the locH of sprite x to the locH of sprite x + horizonty
  488.   set the locV of sprite x to the locV of sprite x + verty
  489.   if the locH of sprite x >= 620 then
  490.     set the locH of sprite x to the locH of sprite x - 20
  491.   end if
  492.   if the locH of sprite x <= 20 then
  493.     set the locH of sprite x to the locH of sprite x + 20
  494.   end if
  495.   if the locV of sprite x <= 20 then
  496.     set the locV of sprite x to the locV of sprite x + 20
  497.   end if
  498.   if the locV of sprite x >= 460 then
  499.     set the locV of sprite x to the locV of sprite x - 20
  500.   end if
  501.   if flicker = 1 then
  502.     set randomiser to 1
  503.     set verty to 1
  504.     set horizonty to 1
  505.   end if
  506.   set honumber to random(4)
  507.   set minushonumber to -3
  508.   set vernumber to random(4)
  509.   set minusvernumber to -2
  510.   set randomiser to random(2)
  511.   if randomiser = 1 then
  512.     set verty to vernumber
  513.     set horizonty to honumber
  514.   else
  515.     set horizonty to minushonumber
  516.     set verty to minusvernumber
  517.   end if
  518.   set x to 16
  519.   if x = 1 then
  520.     set x to 4
  521.   end if
  522.   if x = 3 then
  523.     set x to 5
  524.   end if
  525.   if x = 2 then
  526.     set x to 6
  527.   end if
  528.   set the locH of sprite x to the locH of sprite x + horizonty
  529.   set the locV of sprite x to the locV of sprite x + verty
  530.   if the locH of sprite x >= 620 then
  531.     set the locH of sprite x to the locH of sprite x - 20
  532.   end if
  533.   if the locH of sprite x <= 20 then
  534.     set the locH of sprite x to the locH of sprite x + 20
  535.   end if
  536.   if the locV of sprite x <= 20 then
  537.     set the locV of sprite x to the locV of sprite x + 20
  538.   end if
  539.   if the locV of sprite x >= 460 then
  540.     set the locV of sprite x to the locV of sprite x - 20
  541.   end if
  542.   if flicker = 1 then
  543.     set randomiser to 1
  544.     set verty to 1
  545.     set horizonty to 1
  546.   end if
  547.   set honumber to random(4)
  548.   set minushonumber to -3
  549.   set vernumber to random(4)
  550.   set minusvernumber to -2
  551.   set randomiser to random(2)
  552.   if randomiser = 1 then
  553.     set verty to vernumber
  554.     set horizonty to honumber
  555.   else
  556.     set horizonty to minushonumber
  557.     set verty to minusvernumber
  558.   end if
  559.   set x to 4
  560.   if x = 1 then
  561.     set x to 4
  562.   end if
  563.   if x = 3 then
  564.     set x to 5
  565.   end if
  566.   if x = 2 then
  567.     set x to 6
  568.   end if
  569.   set the locH of sprite x to the locH of sprite x + horizonty
  570.   set the locV of sprite x to the locV of sprite x + verty
  571.   if the locH of sprite x >= 620 then
  572.     set the locH of sprite x to the locH of sprite x - 20
  573.   end if
  574.   if the locH of sprite x <= 20 then
  575.     set the locH of sprite x to the locH of sprite x + 20
  576.   end if
  577.   if the locV of sprite x <= 20 then
  578.     set the locV of sprite x to the locV of sprite x + 20
  579.   end if
  580.   if the locV of sprite x >= 460 then
  581.     set the locV of sprite x to the locV of sprite x - 20
  582.   end if
  583.   updateStage()
  584. end
  585.  
  586. on mouseUp
  587.   go(80)
  588. end
  589.